<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    /* *{
      margin: 0;
      padding: 0;
    } */
    ul li{
      transform-style: preserve-3d;
      text-align: center;
      list-style-type: none;
      transform:rotateX(-20deg) rotateY(30deg);
      position: relative;
      transition: all .5s;
    }
    ul li a{
      display: block;
      width: 100px;
      height: 40px;
      line-height: 40px;
      background: gray;
      position: absolute;
      left: 0;
      top: 0;
      transform: translateZ(20px);
    }
    ul li a:first-child{
      background: green;
      transform:rotateX(90deg) translateZ(20px);
    }
    ul li:hover{
      /* transform:rotateX(-190deg); */
    }
    ul li a:last-child{
      background: red;
      transform:rotateX(90deg) translateZ(-20px);
    }
  </style>
</head>
<body>
  <div class="app">
    <ul>
      <li>
         <a href="">1</a>
        <a href="">2</a>
        <a href="">3</a>
      </li>
    </ul>
  </div>
</body>
</html>